<?php
/**
 * Created by PhpStorm.
 * User: mojie126
 * Date: 2017/7/5 0005
 * Time: 下午 12:00
 */

namespace app\index\controller;


class ReportController extends Base
{
	public function index($id, $type)
	{
		$db = getTorrentDB($type);
		$where = [
			"id" => ["=", $id],
			"display" => ["=", "0"],
			"status" => ["=", "0"]
		];

		$res = db($db)->where($where)->field(["id", "torrentpath"])->find();
		if ($res) {

		}
	}
}